/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.pub.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.pub.entity.PubHelp;

/**
 * 单表生成DAO接口
 * @author zmy
 * @version 2019-04-18
 */
@MyBatisDao
public interface PubHelpDao extends CrudDao<PubHelp> {

	int wxsave(@Param("id") String id,@Param("title") String title,@Param("authorname") String authorname,@Param("article") String article,@Param("imgurl") String imgurl,@Param("authorid") String authorid,@Param("publishtime") String publishtime,@Param("destamt") String destamt,@Param("gotamt") String gotamt);

	int updateamt(@Param("id") String userid,@Param("articleid") String articleid);

	List<Object[]> helpList();
	
}